package com.scau402.system1.domain.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.bytebuddy.asm.Advice;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 调整单查询类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WmsAdjustBoundOrderQuery {
    /**
     * 货品条码
     */
    private String barcode;
    /**
     * 盘点单id
     */
    private Long checkOrderId;
    /**
     * 审核单id
     */
    private Long auditId;
    /**
     * 调整人员id
     */
    private Long createById;
    /**
     * 创建起始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    /**
     * 创建结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    /**
     * 用户名
     */
    private Long tenantId;

    public WmsAdjustBoundOrderQuery setAudit(Long auditId){
        this.auditId=auditId;
        return this;
    }
}
